catch error in empfaenger's printf()