Update
This commit is contained in:
parent
e218a8762c
commit
c32356b2bc
|
@ -14,7 +14,6 @@
|
|||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
require "commander"
|
||||
require "docker"
|
||||
|
||||
require "./backend/*"
|
||||
|
|
|
@ -186,9 +186,6 @@ module Backend
|
|||
|
||||
# Custom error handler
|
||||
def handle_exception(ex : Exception) : String?
|
||||
# pp! ex, ex.message, ex.class, typeof(ex), ex.is_a? Errors::PublicError
|
||||
# # ex.message
|
||||
|
||||
case ex
|
||||
when Errors::PublicError
|
||||
ex.api_message
|
||||
|
|
Loading…
Reference in New Issue