Browse Source

update HelperMacros.getErrorMessage

Aleksandr Kuzmenko 5 years ago
parent
commit
ef9469a1d4
1 changed files with 1 additions and 1 deletions
  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};
 	}
 	}