mirror of
https://github.com/cloudflare/redoctober.git
synced 2026-09-13 03:24:24 +00:00
Merge pull request #76 from cloudflare/kyle/fix-core
Don't discard result of errors.New.
This commit is contained in:
+1
-1
@@ -269,7 +269,7 @@ func Delegate(jsonIn []byte) ([]byte, error) {
|
||||
}
|
||||
|
||||
if records.NumRecords() == 0 {
|
||||
errors.New("Vault is not created yet")
|
||||
err = errors.New("Vault is not created yet")
|
||||
return jsonStatusError(err)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user