{"action":"closed","issue":{"url":"https://api.github.com/repos/cakephp/migrations/issues/258","repository_url":"https://api.github.com/repos/cakephp/migrations","labels_url":"https://api.github.com/repos/cakephp/migrations/issues/258/labels{/name}","comments_url":"https://api.github.com/repos/cakephp/migrations/issues/258/comments","events_url":"https://api.github.com/repos/cakephp/migrations/issues/258/events","html_url":"https://github.com/cakephp/migrations/issues/258","id":174302824,"number":258,"title":"Exceptions are turned into useless error messages","user":{"login":"berarma","id":162766,"avatar_url":"https://avatars.githubusercontent.com/u/162766?v=3","gravatar_id":"","url":"https://api.github.com/users/berarma","html_url":"https://github.com/berarma","followers_url":"https://api.github.com/users/berarma/followers","following_url":"https://api.github.com/users/berarma/following{/other_user}","gists_url":"https://api.github.com/users/berarma/gists{/gist_id}","starred_url":"https://api.github.com/users/berarma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/berarma/subscriptions","organizations_url":"https://api.github.com/users/berarma/orgs","repos_url":"https://api.github.com/users/berarma/repos","events_url":"https://api.github.com/users/berarma/events{/privacy}","received_events_url":"https://api.github.com/users/berarma/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-08-31T15:23:24Z","updated_at":"2016-09-08T17:58:47Z","closed_at":"2016-09-08T17:58:47Z","body":"This is a (multiple allowed):\r\n* [ ] bug\r\n* [x] enhancement\r\n* [ ] feature-discussion (RFC)\r\n\r\n* CakePHP Version: 3.3.2\r\n* Migrations plugin version: 8c67ea5e8ed5fd778050652175688aa3593d18c1\r\n* Database server (MySQL, SQLite, Postgres): MySQL 5.5.49\r\n* PHP Version: 5.6.24\r\n\r\nThis is a request/suggestion to always show a backtrace when an exception gets thrown. The current error message is cute but useless. I don't think it fits in a development/deployment tool.\r\n\r\nAlthough the verbose option already does it, it's inconvenient because it also displays all the queries when query logging is enabled. I often debug my migrations with query logging on but I prefer to read them from a file rather than on the console.\r\n\r\nAlso, when a migration fails without verbosity on, I have to retry the migration turning verbosity on (and maybe turning query logging off), but retrying migrations isn't always easy when the database doesn't support transactional schema changes. Thus this request to always show the full exception info.\r\n\r\nThanks."}}
{"actor":{"display_login":"lorenzo"}}