mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 16:11:08 +08: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