diff --git a/lib/Client.js b/lib/Client.js
index <HASH>..<HASH> 100644
--- a/lib/Client.js
+++ b/lib/Client.js
@@ -64,7 +64,10 @@ Client.prototype.createApp = function(manifest, callback) {
 		},
 		json: manifest
 	}, function(e, response, body) {
-		if(response.statusCode == 302) {
+		if(e) {
+			callback(new OperationError(null, null, e), null)
+		}
+		else if(response.statusCode == 302) {
 			callback(null, body)
 		}
 		else {
@@ -181,7 +184,10 @@ Client.prototype.updateApp = function(name, manifest, callback) {
 		},
 		json: manifest
 	}, function(e, response, body) {
-		if(response.statusCode == 200) {
+		if(e) {
+			callback(new OperationError(null, null, e), null)
+		}
+		else if(response.statusCode == 200) {
 			callback(null, true)
 		}
 		else {
added raiseError for updateApp and createApp unexpected errors