Skip to content

Commit

Permalink
better error message for org not found
Browse files Browse the repository at this point in the history
  • Loading branch information
afujiwara-roblox committed Sep 29, 2023
1 parent 50e36c8 commit 3f24462
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/configFile.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {parse} from "toml";
import {readFile} from "fs";
import { parse } from "toml";
import { readFile } from "fs";
import findUp from "find-up";
interface foremanConfig {
tools: {
Expand Down Expand Up @@ -40,7 +40,7 @@ function checkSameOrgToolSpecs(

if (tool_org == null) {
throw new Error(
`Org not found in tool spec definition for: ${tool_name}`
`Org not found in tool spec definition for: ${tool_name}. Foreman config is likely defined incorrectly.`
);
}

Expand Down

0 comments on commit 3f24462

Please sign in to comment.