Skip to content

Commit 3aefe11

Browse files
authored
Merge pull request #88 from JuliaWeb/tan/misc
http server backtrace logging, update ZMQ compat, bump patch version
2 parents ebc1b4f + eeb467a commit 3aefe11

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ julia:
77
- 1.1
88
- 1.2
99
- 1.3
10+
- 1.4
1011
- nightly
1112
matrix:
1213
fast_finish: true

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ uuid = "480116ec-64ea-5dec-baca-db6b11e96e37"
33
keywords = ["julia", "rest", "api"]
44
license = "MIT"
55
desc = "Julia package for deploying APIs"
6-
version = "0.6.1"
6+
version = "0.6.2"
77

88
[deps]
99
Base64 = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"
@@ -15,7 +15,7 @@ ZMQ = "c2297ded-f4af-51ae-bb23-16f91089e4e1"
1515

1616
[compat]
1717
HTTP = "0.8"
18-
ZMQ = "1.0"
18+
ZMQ = "1.0, 1.1, 1.2"
1919
JSON = "0.21"
2020
julia = "1"
2121

src/http_rpc_server.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,8 @@ function http_handler(apis::Channel{APIInvoker{T,F}}, preproc::Function, req::HT
197197
end
198198
end
199199
catch e
200+
@error("Exception in handler: ", exception=(e, catch_backtrace()))
200201
res = HTTP.Response(500)
201-
@error("Exception in handler: ", exception=(e, backtrace()))
202202
end
203203
@debug("response", res)
204204
return res

0 commit comments

Comments
 (0)