mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
use standard error so its easier to catch
This commit is contained in:
@@ -24,7 +24,7 @@ module Autospec
|
||||
|
||||
require "socket"
|
||||
|
||||
class PhantomJsNotInstalled < Exception; end
|
||||
class PhantomJsNotInstalled < StandardError; end
|
||||
|
||||
def initialize
|
||||
ensure_phantomjs_is_installed
|
||||
|
Reference in New Issue
Block a user