app/controllers/graphql_controller.rb
# Render a backtrace for errors that occur in development.
#
# @param [Exception] err
# @return [void]
Render a backtrace for errors that occur in development.
Render a backtrace for errors that occur in development .
def handle_error_in_development(err)
    logger.error err.message
    logger.error err.backtrace.join("\n")
    render json: { errors: [{ message: err.message, backtrace: err.backtrace }], data: {} }, status: :internal_server_error
  end
def handle_error_in_development ( err ) logger . error err . message logger . error err . backtrace . join ( "\n" ) render json : { errors : [ { message : err . message , backtrace : err . backtrace } ] , data : { } } , status : :internal_server_error end
Render a backtrace for errors that occur in development.
Render a backtrace for errors that occur in development .
# :nocov: # :nocov:
None
void
err
None