fix NonRetryableError thrown with an empty error message not stopping workflow retries locally
#10219
+143
−1