From 4231e7da89f0c2fc8db7ec53e2f8b787c2607db6 Mon Sep 17 00:00:00 2001 From: Joshua Granick Date: Fri, 17 Feb 2017 15:33:19 -0800 Subject: [PATCH] Promote unfound Assets to Log.error (use Assets.exists or try/catch to check for missing assets) --- lime/utils/Assets.hx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lime/utils/Assets.hx b/lime/utils/Assets.hx index d81fb43fa..926edf285 100644 --- a/lime/utils/Assets.hx +++ b/lime/utils/Assets.hx @@ -151,19 +151,19 @@ class Assets { } else { - Log.info (type + " asset \"" + id + "\" exists, but only asynchronously"); + Log.error (type + " asset \"" + id + "\" exists, but only asynchronously"); } } else { - Log.info ("There is no " + type + " asset with an ID of \"" + id + "\""); + Log.error ("There is no " + type + " asset with an ID of \"" + id + "\""); } } else { - Log.info ("There is no asset library named \"" + symbol.libraryName + "\""); + Log.error ("There is no asset library named \"" + symbol.libraryName + "\""); } @@ -260,13 +260,13 @@ class Assets { } else { - Log.info ("There is no asset with an ID of \"" + id + "\""); + Log.error ("There is no asset with an ID of \"" + id + "\""); } } else { - Log.info ("There is no asset library named \"" + symbol.libraryName + "\""); + Log.error ("There is no asset library named \"" + symbol.libraryName + "\""); }