Bug
Improve error handlig
Issue description
Certain errors are still not handled well. For example: a service uses a class that extends Matcher. But the coder mistakenly made the methods 'hash' and 'tobject' non-static instead of static. This causes a FatalError which terminates the script immediately bypassing error handlers.
This causes problems when executing the service in the browser: the typical topincs error message is not displayed, instead a simple blank page. On the command line when the service is executed as a job through run-job or via run-service, the situation is similar.
Developer comments
The error handling was improved, so that even in the described situations the standard Topincs HTML error page appears. In addition the message was improved for users, so that they know that system administration is already informed, when there is something they can do – an instance of TopincsException occurred. An exception id is prominently shown, in case they still send a screenshot.
|
Work sessions5
Start |
2020-07-10T18:23:22
|
End |
2020-07-10T18:59:29
|
Participant |
Robert Cerny
|
Start |
2020-07-10T19:29:11
|
End |
2020-07-10T20:29:16
|
Participant |
Robert Cerny
|
Start |
2020-07-11T05:09:53
|
End |
2020-07-11T08:26:14
|
Participant |
Robert Cerny
|
Start |
2020-07-11T14:29:23
|
End |
2020-07-11T15:29:21
|
Participant |
Robert Cerny
|
Start |
2020-07-12T17:40:36
|
End |
2020-07-12T18:28:31
|
Participant |
Robert Cerny
|
|
We are sorry
This page cannot be displayed in your browser. Use Firefox, Opera, Safari, or Chrome instead.