Rev 569 | Rev 639 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 569 | Rev 575 | ||
---|---|---|---|
Line 140... | Line 140... | ||
140 | QString addMsg;
|
140 | QString addMsg;
|
141 | if (!mClimate.isEmpty()) |
141 | if (!mClimate.isEmpty()) |
142 | addMsg = QString("last Climate: %1 ").arg(mClimate.last()->name()); |
142 | addMsg = QString("last Climate: %1 ").arg(mClimate.last()->name()); |
143 | if (!mSpeciesSets.isEmpty()) |
143 | if (!mSpeciesSets.isEmpty()) |
144 | addMsg += QString("last Speciesset table: %1").arg(mSpeciesSets.last()->name()); |
144 | addMsg += QString("last Speciesset table: %1").arg(mSpeciesSets.last()->name()); |
145 | QString error_msg = QString("An error occured during the setup of the environment: \n%1\n%2").arg(e.toString()).arg(addMsg); |
- | |
- | 145 | QString error_msg = QString("An error occured during the setup of the environment: \n%1\n%2").arg(e.message()).arg(addMsg); |
|
146 | qDebug() << error_msg; |
146 | qDebug() << error_msg; |
147 | Helper::msg(error_msg); |
147 | Helper::msg(error_msg); |
148 | return false; |
148 | return false; |
149 | }
|
149 | }
|
150 | }
|
150 | }
|