Skip to content

Commit

Permalink
PRESIDECMS-2705 Check exception type is simple value in main onError …
Browse files Browse the repository at this point in the history
…handling
  • Loading branch information
sebduggan committed Sep 13, 2023
1 parent 4e3783d commit 2f93e5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/Bootstrap.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ component {
private boolean function _dealWithSqlReloadProtectionErrors( required struct exception ) output=true {
var exceptionType = ( arguments.exception.type ?: "" );

if ( exceptionType == "presidecms.auto.schema.sync.disabled" ) {
if ( IsSimpleValue( exceptionType ) && exceptionType == "presidecms.auto.schema.sync.disabled" ) {
thread name=CreateUUId() e=arguments.exception {
new preside.system.services.errors.ErrorLogService(
appMapping = request._presideMappings.appMapping ?: "/app"
Expand Down

0 comments on commit 2f93e5c

Please sign in to comment.