Skip to content

Instantly share code, notes, and snippets.

@kazzkiq
Created March 26, 2019 17:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kazzkiq/03aaf195e80f17c98bdd27da02fa9b23 to your computer and use it in GitHub Desktop.
Save kazzkiq/03aaf195e80f17c98bdd27da02fa9b23 to your computer and use it in GitHub Desktop.
INFO [14:40:32.431 #75876] ⬛ Onyx::HTTP::Server is listening at http://127.0.0.1:5000
DEBUG [14:40:35.927 #75876] [sql] SELECT * FROM bookmarks WHERE (bookmarks.id = ?)
DEBUG [14:40:35.929 #75876] 2.42ms
DEBUG [14:40:35.929 #75876] [sql] UPDATE bookmarks SET date_modified = ? WHERE (bookmarks.id = ?)
ERROR [14:40:36.175 #75876] [875ff9eb] ERROR cast from DB::ExecResult to DB::ResultSet+ failed, at /Users/kazzkiq/Works
pace/Favhive/favhive-api/lib/mysql/src/mysql/statement.cr:34:5:34
cast from DB::ExecResult to DB::ResultSet+ failed, at /Users/kazzkiq/Workspace/Favhive/favhive-api/lib/mysql/src/mysql/st
atement.cr:34:5:34 (TypeCastError)
from lib/mysql/src/mysql/statement.cr:0:5 in 'perform_query'
from lib/db/src/db/statement.cr:103:14 in 'perform_query_with_rescue'
from lib/db/src/db/statement.cr:88:7 in 'query'
from lib/db/src/db/pool_statement.cr:39:30 in 'query'
from lib/db/src/db/query_methods.cr:38:7 in 'query'
from lib/onyx-sql/src/onyx-sql/repository/query.cr:9:11 in 'query'
from lib/onyx-sql/src/onyx-sql/repository/query.cr:23:7 in 'query'
from lib/onyx-sql/src/onyx-sql/repository/query.cr:34:7 in 'query'
from lib/onyx/src/onyx/sql.cr:21:5 in 'query'
from src/endpoints/bookmarks/update.cr:53:5 in 'call'
from src/endpoints/bookmarks/update.cr:146:5 in 'call'
from lib/onyx-http/src/onyx-http/middleware/router.cr:155:9 in '->'
from lib/onyx-http/src/onyx-http/middleware/router.cr:255:3 in '->'
from lib/onyx-http/src/onyx-http/middleware/router.cr:255:3 in 'call'
from /usr/local/Cellar/crystal/0.27.2/src/http/server/handler.cr:24:7 in 'call_next'
from lib/onyx-http/src/onyx-http/middleware/rescuer.cr:20:5 in 'call'
from /usr/local/Cellar/crystal/0.27.2/src/http/server/handler.cr:24:7 in 'call_next'
from lib/onyx-http/src/onyx-http/middleware/rescuer.cr:20:5 in 'call'
from /usr/local/Cellar/crystal/0.27.2/src/http/server/handler.cr:24:7 in 'call_next'
from lib/onyx-http/src/onyx-http/middleware/cors.cr:62:11 in 'call'
from /usr/local/Cellar/crystal/0.27.2/src/http/server/handler.cr:24:7 in 'call_next'
from lib/onyx-http/src/onyx-http/middleware/logger.cr:69:9 in 'call'
from /usr/local/Cellar/crystal/0.27.2/src/http/server/handler.cr:24:7 in 'call_next'
from lib/onyx-http/src/onyx-http/middleware/request_id.cr:16:7 in 'call'
from /usr/local/Cellar/crystal/0.27.2/src/http/server/handler.cr:24:7 in 'call_next'
from lib/onyx-http/src/onyx-http/middleware/response_time.cr:11:9 in 'call'
from /usr/local/Cellar/crystal/0.27.2/src/http/server/request_processor.cr:39:11 in 'process'
from /usr/local/Cellar/crystal/0.27.2/src/http/server/request_processor.cr:16:3 in 'process'
from /usr/local/Cellar/crystal/0.27.2/src/http/server.cr:414:5 in 'handle_client'
from /usr/local/Cellar/crystal/0.27.2/src/http/server.cr:380:13 in '->'
from /usr/local/Cellar/crystal/0.27.2/src/fiber.cr:255:3 in 'run'
from /usr/local/Cellar/crystal/0.27.2/src/fiber.cr:72:34 in '->'
INFO [14:40:36.187 #75876] [875ff9eb] PATCH /bookmarks/4 500 260.088ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment