diff --git a/src/Configuration.cpp b/src/Configuration.cpp
index 5f286232c11904cba2c743242a8c6bbe257a535c..e95109309bbfd1350ef3b53399f1d42fce8ea1a0 100644
--- a/src/Configuration.cpp
+++ b/src/Configuration.cpp
@@ -1814,7 +1814,11 @@ bool Configuration::loadCoordinates(const char* file_name) {
char line[STRLEN];
FILE* inp = fopen(file_name, "r");
- if (inp == NULL) return false;
+ if (inp == NULL) {
+ printf("ERROR: Could not open file for reading: %s\n", file_name);
+ exit(-1);
+ return false;
+ }
int count = 0;
while (fgets(line, STRLEN, inp) != NULL) {