From 3be0140d647e34703324b33502e122a71892a1f5 Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Tue, 11 Oct 2022 13:35:27 +0200 Subject: [PATCH] show error --- bin/rpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/rpl b/bin/rpl index 8ba8125..b6a3027 100755 --- a/bin/rpl +++ b/bin/rpl @@ -11,8 +11,9 @@ class RplRepl def initialize( interpreter: Rpl.new ) begin @stty_save = `stty -g`.chomp - rescue Error + rescue Error => e puts "Couldn't get terminal characteristics" + pp e end @interpreter = interpreter