summaryrefslogtreecommitdiff
path: root/source/ui_script.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/ui_script.c')
-rw-r--r--source/ui_script.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/ui_script.c b/source/ui_script.c
index 091a0f2..70035b3 100644
--- a/source/ui_script.c
+++ b/source/ui_script.c
@@ -297,10 +297,11 @@ static qboolean Parse_File( const char *path, int depth ) {
char *raw, *data, *p, *cmd;
int argc;
menuFrameWork_t *menu = NULL;
+ qerror_t ret;
- FS_LoadFile( path, ( void ** )&raw );
+ ret = FS_LoadFile( path, ( void ** )&raw );
if( !raw ) {
- Com_Printf( "Couldn't load %s\n", path );
+ Com_Printf( "Couldn't load %s: %s\n", path, Q_ErrorString( ret ) );
return qfalse;
}