ADDED default null in case it's a normal php error
Merge pull request #3 from SoSocio/ExceptionObject

ADDED default null in case it's a normal php error