FSN#39763 JSON.parse error betere foutmelding
svn path=/Website/branches/v2016.3/; revision=33065
This commit is contained in:
@@ -973,7 +973,7 @@ function jwt_decode(token)
|
||||
}
|
||||
catch (s)
|
||||
{
|
||||
return { err: "Invalid JSON: " + e.description };
|
||||
return { err: "Invalid JSON: {0} {1}".format(s.name, s.message) };
|
||||
}
|
||||
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user