Skip to content

Commit

Permalink
Apply cfformat changes
Browse files Browse the repository at this point in the history
  • Loading branch information
lmajano authored and github-actions[bot] committed Sep 20, 2024
1 parent 12d591a commit 946ce0a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions system/ioc/Builder.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -292,16 +292,15 @@ component serializable="false" accessors="true" {
.toList( chr( 13 ) & chr( 10 ) );

var throwAttributes = {
type : "Builder.BuildCFCDependencyException",
extendedInfo: "Current Injector -> #variables.injector.getName()#"
type : "Builder.BuildCFCDependencyException",
extendedInfo : "Current Injector -> #variables.injector.getName()#"
};

if ( server.keyExists( "boxlang" ) ) {
throwAttributes.object = e;

} else {
throwAttributes.message = "Error building: #arguments.mapping.getName()# -> #e.message# #e.detail#.";
throwAttributes.detail = "DSL: #len( arguments.mapping.getDSL() ) ? arguments.mapping.getDSL() : "none"#; Path: #arguments.mapping.getPath()#; Error Location: #reducedTagContext#";
throwAttributes.detail = "DSL: #len( arguments.mapping.getDSL() ) ? arguments.mapping.getDSL() : "none"#; Path: #arguments.mapping.getPath()#; Error Location: #reducedTagContext#";
}
throw( argumentCollection = throwAttributes );
}
Expand Down

0 comments on commit 946ce0a

Please sign in to comment.