Method: Masamune::Commands::Postgres#handle_stderr

Defined in:
lib/masamune/commands/postgres.rb

#handle_stderr(line, _line_no) ⇒ Object



110
111
112
113
# File 'lib/masamune/commands/postgres.rb', line 110

def handle_stderr(line, _line_no)
  @error = line.split(/ERROR:\s*/).last if line =~ /ERROR:/
  logger.debug(line)
end