Jelajahi Sumber

Remove console.log statements

Alan Lam 5 tahun lalu
induk
melakukan
9922f8bffd
1 mengubah file dengan 1 tambahan dan 2 penghapusan
  1. 1 2
      public/js/app-locations.js

+ 1 - 2
public/js/app-locations.js

@@ -200,10 +200,9 @@ class AddLocationsToProjectModal {
 				}
 				}
 			}
 			}
 
 
-			console.log(response);
 			this.$modal.modal("hide");
 			this.$modal.modal("hide");
 		}).catch(error => {
 		}).catch(error => {
-			console.error(error);
+			alert(`An error has occurred: ${error}`);
 		});
 		});
 	}
 	}
 }
 }