look for e.message if e.msg is undefined