added format
and Exception.debugIf(condition,msg)