500 error details are generally logged somewhere.
Since this doesn't look like the Flarum 500 error page, the error is likely not in Flarum log file but instead might be found in your webserver log file (apache, syslog, or smilar). If you are using a (reverse) proxy the error might also come from there.