diff --git a/system/ioc/Builder.cfc b/system/ioc/Builder.cfc index 6b10f6045..bdb2dbe23 100644 --- a/system/ioc/Builder.cfc +++ b/system/ioc/Builder.cfc @@ -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 ); }