Commits

christiansalazar  committed 374a063

adjunta el itemname en el mensaje de error de excepcion

  • Participants
  • Parent commits cc31217

Comments (0)

Files changed (1)

File components/CrugeException.php

 	public $extra;
 	public $code;
 	public function __construct($message,$code=500,$extra=""){
-		parent::__construct($message, $code);
+		parent::__construct($message.". item=".$extra, $code);
 		$this->code = $code;
 		$this->extra = $extra;
 	}