@@ -274,11 +274,11 @@ protected function assertMaintenance()
274
274
$ isOn = $ this ->maintenance ->isOn (isset ($ this ->server ['REMOTE_ADDR ' ]) ? $ this ->server ['REMOTE_ADDR ' ] : '' );
275
275
if ($ isOn && !$ isExpected ) {
276
276
$ this ->errorCode = self ::ERR_MAINTENANCE ;
277
- throw new \Exception ('Unable to proceed: the maintenance mode is enabled. ' );
277
+ throw new \Exception ('Unable to proceed: the maintenance mode is enabled. ' );
278
278
}
279
279
if (!$ isOn && $ isExpected ) {
280
280
$ this ->errorCode = self ::ERR_MAINTENANCE ;
281
- throw new \Exception ('Unable to proceed: the maintenance mode must be enabled first. ' );
281
+ throw new \Exception ('Unable to proceed: the maintenance mode must be enabled first. ' );
282
282
}
283
283
}
284
284
@@ -298,11 +298,11 @@ protected function assertInstalled()
298
298
$ isInstalled = $ this ->isInstalled ();
299
299
if (!$ isInstalled && $ isExpected ) {
300
300
$ this ->errorCode = self ::ERR_IS_INSTALLED ;
301
- throw new \Exception ('Application is not installed yet. ' );
301
+ throw new \Exception ('Error: Application is not installed yet. ' );
302
302
}
303
303
if ($ isInstalled && !$ isExpected ) {
304
304
$ this ->errorCode = self ::ERR_IS_INSTALLED ;
305
- throw new \Exception ('Application is already installed. ' );
305
+ throw new \Exception ('Error: Application is already installed. ' );
306
306
}
307
307
}
308
308
@@ -406,7 +406,7 @@ protected function terminate(\Exception $e)
406
406
if ($ this ->isDeveloperMode ()) {
407
407
echo $ e ;
408
408
} else {
409
- $ message = "An error has happened during application run. See debug log for details. \n" ;
409
+ $ message = "An error has happened during application run. See exception log for details. \n" ;
410
410
try {
411
411
if (!$ this ->objectManager ) {
412
412
throw new \DomainException ();
0 commit comments