Leonardo Maron

Results 2 comments of Leonardo Maron

> Is there a cleaner way to extract the error response message without e.message.split(':', 2).last? @dcangulo, you can do this: ```ruby begin client.push(payload).json rescue Fcmpush::BadRequest => e JSON.parse(e.response.body) end ```

Oh right, with two windows the bug doesn't happen. I did some more tests and apparently it only consistently happens with the simulator. Sometimes when I close an app and...