From f86aa307914d9e5e3cd3679cd9f87d3edbaf041d Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Wed, 21 Dec 2022 15:50:06 -0800 Subject: [PATCH] GranblueError should not require input param --- app/errors/api/v1/granblue_error.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/errors/api/v1/granblue_error.rb b/app/errors/api/v1/granblue_error.rb index dec43a1..e2d0c70 100644 --- a/app/errors/api/v1/granblue_error.rb +++ b/app/errors/api/v1/granblue_error.rb @@ -4,7 +4,7 @@ module Api module V1 # This is the base error that we inherit from for application errors class GranblueError < StandardError - def initialize(data) + def initialize(data = '') @data = data end