Changeset 380

Show
Ignore:
Timestamp:
01/29/07 21:23:31 (6 years ago)
Author:
lmajano
Message:

Fixed the bean exception.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • coldbox/trunk/src/system/plugins/logger.cfc

    r361 r380  
    171706/28/2006 - Updates for coldbox 
    181807/12/2006 - Tracer updates 
     1901/20/2007 - Update for new bean types and formatting. 
    1920-----------------------------------------------------------------------> 
    2021<cfcomponent name="logger" 
     
    2526 
    2627        <!--- ************************************************************* ---> 
     28         
    2729        <cffunction name="init" access="public" returntype="any" hint="Constructor" output="false"> 
    2830                <cfset super.Init() /> 
     
    4042                <cfreturn this> 
    4143        </cffunction> 
     44         
    4245        <!--- ************************************************************* ---> 
    4346         
     
    141144                <!--- ************************************************************* ---> 
    142145                <cfargument name="Message"                      type="string"   required="yes"> 
    143                 <cfargument name="ExceptionStruct"      type="any"      required="no" default="#StructNew()#" hint="The CF cfcatch structure."> 
     146                <cfargument name="ExceptionStruct"      type="struct"   required="no" default="#StructNew()#" hint="The CF cfcatch structure."> 
    144147                <cfargument name="ExtraInfo"            type="any"      required="no" default=""> 
    145148                <!--- ************************************************************* ---> 
    146                 <cfset logErrorWithBean(getPlugin("beanFactory").create("coldbox.system.beans.exception").init(arguments.ExceptionStruct,arguments.message,arguments.ExtraInfo))> 
     149                <cfset logErrorWithBean(getPlugin("beanFactory").create("coldbox.system.beans.exceptionBean").init(arguments.ExceptionStruct,arguments.message,arguments.ExtraInfo))> 
    147150        </cffunction> 
    148151