Use empty strings when catching exceptions