Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

Commit ba62792

Browse files
committed
wops
1 parent 6b4e486 commit ba62792

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

graphql/tarantool_graphql.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ local simple_config = require('graphql.simple_config')
4545
local config_complement = require('graphql.config_complement')
4646
local server = require('graphql.server.server')
4747

48+
require('strict').on()
49+
4850
local utils = require('graphql.utils')
4951
local check = utils.check
5052

graphql/utils.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ function utils.show_trace(func, ...)
1313
function(err)
1414
log.info('ERROR: ' .. tostring(err))
1515
log.info(debug.traceback())
16+
print('ERROR: ' .. tostring(err))
17+
print(debug.traceback())
1618
end
1719
))
1820
end

test/local/no_instance.test.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ local yaml = require('yaml')
66
local json = require('json')
77
local fio = require('fio')
88
local http = require('http.client').new()
9+
require('strict').on()
910

1011
package.path = fio.abspath(debug.getinfo(1).source:match("@?(.*/)")
1112
:gsub('/./', '/'):gsub('/+$', '')) .. '/../../?.lua' .. ';' .. package.path

test/local/server.test.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,13 @@ local http = require('http.client').new()
99
local graphql = require('graphql')
1010
local testdata = require('test.testdata.common_testdata')
1111

12+
1213
package.path = fio.abspath(debug.getinfo(1).source:match("@?(.*/)")
1314
:gsub('/./', '/'):gsub('/+$', '')) .. '/../../?.lua' .. ';' .. package.path
1415

1516
box.cfg{background = false}
17+
require('strict').on()
18+
1619

1720
testdata.init_spaces()
1821

0 commit comments

Comments
 (0)