Skip to content

Commit

Permalink
Improve error message regarding user dir
Browse files Browse the repository at this point in the history
To help me debug CI issues.
  • Loading branch information
jbytheway committed Mar 13, 2023
1 parent c5810e7 commit c1dc970
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ static void init_global_game_state( const std::vector<mod_id> &mods,
{
if( !assure_dir_exist( user_dir ) ) {
// NOLINTNEXTLINE(misc-static-assert,cert-dcl03-c)
cata_fatal( "Unable to make user_dir directory. Check permissions." );
cata_fatal( "Unable to make user_dir directory '%s'. Check permissions.", user_dir );
}

PATH_INFO::init_base_path( "" );
Expand Down

0 comments on commit c1dc970

Please sign in to comment.