소스 검색

update HelperMacros.getErrorMessage

Aleksandr Kuzmenko 5 년 전
부모
커밋
ef9469a1d4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 {
 			typeof(e);
 			"no error";
-		} catch (e:Dynamic) Std.string(e.message);
+		} catch (e:haxe.Exception) Std.string(e.message);
 		return macro $v{result};
 	}