浏览代码

Merge pull request #86409 from Calinou/displayserver-failure-message-suggest-headless

Suggest `--headless` CLI argument in DisplayServer not found error message
Yuri Sizov 1 年之前
父节点
当前提交
ebbc985cf8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      main/main.cpp

+ 1 - 1
main/main.cpp

@@ -2463,7 +2463,7 @@ Error Main::setup2() {
 		}
 
 		if (err != OK || display_server == nullptr) {
-			ERR_PRINT("Unable to create DisplayServer, all display drivers failed.");
+			ERR_PRINT("Unable to create DisplayServer, all display drivers failed.\nUse \"--headless\" command line argument to run the engine in headless mode if this is desired (e.g. for continuous integration).");
 			return err;
 		}