Change error message for missing Multibase value (#39760)
This commit is contained in:
1 parent
5dad89e56d
commit
ba0fadc332
1 file changed
+1
-1
@@ -25,7 +25,7 @@ class Multibase
|
||||
class Error < StandardError; end
|
||||
|
||||
def self.decode(string)
|
||||
raise Error, 'Multibase string is null' if string.nil?
|
||||
raise Error, 'Multibase string is nil' if string.nil?
|
||||
|
||||
case string[0]
|
||||
when 'u'
|
||||
|
||||
Reference in new issue
Block a user