{ "time": "2018/04/17-16:05:47(+0800)", "level": "ERRO", "id": "25wgipft6owt6pujel4d", "error": "", "data": { "context": { "global": { "other": { "oids": "2298643000140002", "payment": "1.00", "prismNotifyName": "tradeCreate", "shop_id": 3, "tid": "2298643000090002", "user_id": 2 }, "permission": [], "query": { "id": "2298643000090002", "msg_id": "88bfb270-2c9c-4079-ae28-4f25d7aa4761", "other": { "oids": "2298643000140002", "payment": "1.00", "prismNotifyName": "tradeCreate", "shop_id": 3, "tid": "2298643000090002", "user_id": 2 }, "permission": [] } }, "params": { "script": "to_ome_order" }, "var": { "msg_id": "88bfb270-2c9c-4079-ae28-4f25d7aa4761", "order_sdf": { "trade": [] }, "relations": [ [] ], "type": "zx_order" } }, "error": { "Type": 2, "Object": "<string>:250: attempt to index a non-table object(nil)", "StackTrace": "stack traceback:\n\t<string>:250: in ome_order_add_orders\n\t<string>:350: in ome\n\t<string>:381: in main\n\t<string>:389: in function 'main chunk'\n\t[G]: ?" }, "module": "script.lua" }, "trigger": "erp-bbc-2@prism.amq", "service": "prism", "pipe": "erp-bbc-2@prism.amq", "input": "{\"prismNotifyName\":\"tradeCreate\",\"tid\":\"2298643000090002\",\"shop_id\":3,\"user_id\":2,\"payment\":\"1.00\",\"oids\":\"2298643000140002\"}" }