fixed issue when exception message is null