blaskovicz / MagicStick

Integrated gatherer of magic

Home Page:http://magic-stick.herokuapp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

raygun server-side seems broken?

blaskovicz opened this issue · comments

Didn't see an event for this:

Mar 28 23:32:51 magic-stick app/web.1:  E, [Wed 29-03-2017 0332 #8] ERROR -- : PG::DatatypeMismatch: ERROR:  argument of AND must be type boolean, not type integer 
Mar 28 23:32:51 magic-stick app/web.1:  LINE 1: ...es" WHERE (("user_identities"."user_id" = 3) AND (2)) LIMIT ... 
Mar 28 23:32:51 magic-stick app/web.1:                                                               ^: SELECT * FROM "user_identities" WHERE (("user_identities"."user_id" = 3) AND (2)) LIMIT 1 
Mar 28 23:32:51 magic-stick app/web.1:  2017-03-29 03:32:50 - Sequel::DatabaseError - PG::DatatypeMismatch: ERROR:  argument of AND must be type boolean, not type integer 
Mar 28 23:32:51 magic-stick app/web.1:  LINE 1: ...es" WHERE (("user_identities"."user_id" = 3) AND (2)) LIMIT ... 
Mar 28 23:32:51 magic-stick app/web.1:                                                               ^ 
Mar 28 23:32:51 magic-stick app/web.1:  : 
Mar 28 23:32:51 magic-stick app/web.1:  	/app/vendor/bundle/ruby/2.1.0/gems/sequel-4.21.0/lib/sequel/adapters/postgres.rb:180:in `async_exec' 
...
Mar 28 23:32:51 magic-stick app/web.1:  	/app/server/controllers/auth.rb:147:in `block in <class:AuthController>' 
Mar 28 23:32:51 magic-stick app/web.1:  	/app/vendor/bundle/ruby/2.1.0/gems/sinatra-1.4.6/lib/sinatra/base.rb:1609:in `call'