lib/core/exception_handler.dart uses wrong log level for exceptions #1706
Description
lib/core/exception_handler.dart uses "print" to log an exception. This will result in a log entry with log level "INFO" in the browser's console. That's not really appropriate for an exception, which should really have log level "ERROR".
This is a problem, because we are checking at the end of each webdriver test, if there are any exceptions present in the browser. For this, we go through the log entries in the console and if we find one that has a log level of ERROR, we mark the test as failed. Unfortunately, due to the bug described above we miss some exceptions because they don't have the appropriate log level. Therefore, some tests are marked as passed even though they really failed and there is no good way of detecting this if exceptions are not logged with the appropriate log level.