Skip to content

Commit

Permalink
ACF 2018 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
jclausen committed Sep 25, 2024
1 parent 1d52047 commit e7eb5e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/logging/AppenderService.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ component accessors="true" singleton {
string category
){
if ( !isNumeric( arguments.severity ) ) {
if ( !this.logLevels.keyExists( arguments.severity ) ) {
if ( !structKeyExists( this.logLevels, arguments.severity ) ) {
throw(
type = "cbelasticsearch.logging.InvalidSeverity",
message = "The severity [#arguments.severity#] provided is not valid. Please provide a valid numeric serverity or one of the following levels [#this.logLevels.keyArray().toList()#]."
Expand Down

0 comments on commit e7eb5e1

Please sign in to comment.