Skip to content

Commit

Permalink
#141 JSONDocument shall set the debug-tablename only if available
Browse files Browse the repository at this point in the history
  • Loading branch information
teosarca committed Feb 19, 2017
1 parent e959fc9 commit 7865c1f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public static final JSONDocument ofDocument(final Document document, final JSONO
// Set debugging info
if (WindowConstants.isProtocolDebugging())
{
jsonDocument.putDebugProperty("tablename", document.getEntityDescriptor().getTableName());
jsonDocument.putDebugProperty("tablename", document.getEntityDescriptor().getTableNameOrNull());
jsonDocument.putDebugProperty(JSONOptions.DEBUG_ATTRNAME, jsonOpts.toString());
jsonDocument.putDebugProperty("fields-count", jsonDocument.getFieldsCount());
}
Expand Down

0 comments on commit 7865c1f

Please sign in to comment.