Fix reminders in error 500 when error_msg is None