in Mudlet/development

** Changed in: mudlet
    Milestone: None => 3.0

** Changed in: mudlet
     Assignee: (unassigned) => Chris (chrismudlet)

-- 
You received this bug notification because you are a member of Mudlet
Makers, which is subscribed to Mudlet.
https://bugs.launchpad.net/bugs/1193211

Title:
  JSON decoder errors aren't properly logged

Status in Mudlet the MUD client:
  Fix Committed

Bug description:
  I saw this in the errors view:

  [ERROR:] object:<JSON decoder error:> function:<json_to_value>
           <>

  With no JSON error attached. Looking at the code:

              string e;
              if( lua_isstring( L, 1 ) )
              {
                  e = "Lua error:";
                  e += lua_tostring( L, 1 );
              }
              QString _n = "JSON decoder error:";
              QString _f = "json_to_value";
              logError( e, _n, _f );

  It should be using -1 as the index for the top of the stack, because 1
  might not be the top (which seems to be the case in my error).

To manage notifications about this bug go to:
https://bugs.launchpad.net/mudlet/+bug/1193211/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~mudlet-makers
Post to     : mudlet-makers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mudlet-makers
More help   : https://help.launchpad.net/ListHelp

Reply via email to