leafo / lapis-exceptions Goto Github PK
View Code? Open in Web Editor NEWException tracking for Lapis
Exception tracking for Lapis
Using this plugin in lua mode with:
app:enable("exception_tracking")
i get:
2015/11/16 15:39:13 [error] 5315#0: *1 lua entry thread aborted: runtime error: ...ocal/share/lua/5.1/lapis/features/exception_tracking.lua:11: attempt to index field '__base' (a nil value)
stack traceback:
coroutine 0:
[C]: in function 'require'
/usr/local/share/lua/5.1/lapis/init.lua:15: in function 'serve'
content_by_lua(nginx.conf.compiled:29):2: in function <content_by_lua(nginx.conf.compiled:29):1>, client: 10.0.2.2, server: , request: "GET /api/v2/estates HTTP/1.1", host: "127.0.0.1:28080"
If we detect a SELECT
query fragment in the error message, parse it and then sort the names of all the fields. Since it's common for order to change due to the a Lua table being encoded to form the original query, many exception types end up getting created
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.