Don't forget to log stacktrace for more critical errors