Skip to content

Commit

Permalink
Dev Better message in exception
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Feb 2, 2024
1 parent 167e150 commit c9343ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/models/Survey.php
Expand Up @@ -348,7 +348,7 @@ public function getCurrentLanguageSettings()
} elseif (isset($this->languagesettings[$this->language])) {
return $this->languagesettings[$this->language];
} else {
throw new Exception('Selected Surveys language not found');
throw new Exception('Survey language not found - looked for ' . App()->language . ' and ' . $this->language);
}
}

Expand Down

0 comments on commit c9343ca

Please sign in to comment.