From 7f5dd0517d2863b7aed3d6f2062cf7c6ca0bd2ce Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.dos.anjos@gmail.com>
Date: Mon, 9 May 2016 18:28:13 +0200
Subject: [PATCH] [utils] Raise IOError if process path is not found

---
 beat/web/utils/path.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/beat/web/utils/path.py b/beat/web/utils/path.py
index a95ba5c28..f8d771467 100644
--- a/beat/web/utils/path.py
+++ b/beat/web/utils/path.py
@@ -44,7 +44,7 @@ def resolve_process_path():
   r = os.path.join(basedir, 'process')
 
   if not os.path.exists(r):
-      raise RuntimeError("Cannot find `process' at `%s' - please check " \
+      raise IOError("Cannot find `process' at `%s' - please check " \
           "your installation" % basedir)
 
   return r
-- 
GitLab