Browse Source

add warning to modpol.record

user 3 years ago
parent
commit
41274b2ff7
1 changed files with 1 additions and 0 deletions
  1. 1 0
      modpol/orgs/orgs.lua

+ 1 - 0
modpol/orgs/orgs.lua

@@ -132,6 +132,7 @@ modpol.record = function (org_id, msg, type)
       if org_ledger == nil then
 
          modpol.orgs [org_id]["ledger"] = { entry }
+         print("Warning: Org ".. org_id .. " did not have a ledger. This is an error.")
 
       else