Ver Fonte

update HelperMacros.getErrorMessage

Aleksandr Kuzmenko há 5 anos atrás
pai
commit
ef9469a1d4
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      tests/unit/src/unit/HelperMacros.hx

+ 1 - 1
tests/unit/src/unit/HelperMacros.hx

@@ -75,7 +75,7 @@ class HelperMacros {
 		var result = try {
 		var result = try {
 			typeof(e);
 			typeof(e);
 			"no error";
 			"no error";
-		} catch (e:Dynamic) Std.string(e.message);
+		} catch (e:haxe.Exception) Std.string(e.message);
 		return macro $v{result};
 		return macro $v{result};
 	}
 	}