diff Core/Lua/LuaContext.cpp @ 1596:f2e3d030ea59

BadJson error code
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 27 Aug 2015 15:36:43 +0200
parents 9ea3d082b064
children 31f4adefb88f
line wrap: on
line diff
--- a/Core/Lua/LuaContext.cpp	Thu Aug 27 14:58:58 2015 +0200
+++ b/Core/Lua/LuaContext.cpp	Thu Aug 27 15:36:43 2015 +0200
@@ -557,7 +557,7 @@
     Json::Reader reader;
     if (!reader.parse(s, output))
     {
-      throw OrthancException(ErrorCode_BadFileFormat);
+      throw OrthancException(ErrorCode_BadJson);
     }
   }