From a591a8f0991d72d272cd395720a0f869e3591a63 Mon Sep 17 00:00:00 2001 From: ~SH4DOW ROOT Date: Thu, 2 Nov 2017 07:33:51 +0000 Subject: [PATCH] Proper Error Message Added --- app.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app.py b/app.py index 1f3a882..0d1ba6e 100755 --- a/app.py +++ b/app.py @@ -34,5 +34,8 @@ def getPR(site, username): if __name__ == '__main__': click.echo("Welcome to Code Review System\n") - execute_board() + try: + execute_board() + except yaml.YAMLError as exc: + print(exc)