Bug 418253 - errors not propagated to UI in gitStatusExplorer
diff --git a/bundles/org.eclipse.orion.client.git/web/orion/git/gitStatusExplorer.js b/bundles/org.eclipse.orion.client.git/web/orion/git/gitStatusExplorer.js
index 49289ad..47b2919 100644
--- a/bundles/org.eclipse.orion.client.git/web/orion/git/gitStatusExplorer.js
+++ b/bundles/org.eclipse.orion.client.git/web/orion/git/gitStatusExplorer.js
@@ -167,7 +167,7 @@
 				var resp = JSON.parse(error.responseText);
 				display.Message = resp.DetailedMessage ? resp.DetailedMessage : resp.Message;
 			} catch (Exception) {
-				display.Message = error.message;
+				display.Message = error.DetailedMessage || error.Message || error.message;
 			}
 			this.registry.getService("orion.page.message").setProgressResult(display); //$NON-NLS-0$
 
@@ -863,7 +863,8 @@
 								}
 							);
 						}
-					});
+					},
+					that.handleError.bind(that));
 		};
 
 		GitStatusExplorer.prototype.renderNoCommit = function() {