rsnext/packages/next/lib
JJ Kasper aab6b37e50
Omit un-necessary stack trace from invalid routes (#24240)
This removes the extra stack trace from throwing an error instead of logging and then exiting since the stack trace doesn't provide any additional information that is helpful for debugging in this case. 

<details>

<summary>Before screenshot</summary>

![image](https://user-images.githubusercontent.com/22380829/115301794-4f3b1280-a127-11eb-8a0d-0797efb8fc9f.png)


</details>

<details>

<summary>After screenshot</summary>

<img width="962" alt="Screen Shot 2021-04-19 at 3 53 45 PM" src="https://user-images.githubusercontent.com/22380829/115301901-6ed23b00-a127-11eb-83f9-e3f4cf0ed8fe.png">


</details>
2021-04-20 02:03:46 +00:00
..
regexr Use regex lexer for gathering named groups from has (#23626) 2021-04-13 12:34:51 +00:00
typescript startup performance improvements (#24129) 2021-04-18 10:28:09 +00:00
coalesced-function.ts Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
constants.ts Update err.sh links to use nextjs.org/docs/messages instead (#23353) 2021-03-29 10:25:00 +02:00
file-exists.ts Eliminate public folder enumeration (#14042) 2020-06-10 20:35:34 +00:00
find-config.ts find-up 2020-03-30 16:26:25 -04:00
find-pages-dir.ts Add initial support for new env handling (#10525) 2020-03-26 13:32:41 +01:00
get-package-version.ts perf(next): use require.resolve instead of resolve (#19518) 2021-01-11 14:43:08 +00:00
is-serializable-props.ts Fix grammar in isSerializableProps (#19072) 2020-11-12 16:07:14 +00:00
load-custom-routes.ts Omit un-necessary stack trace from invalid routes (#24240) 2021-04-20 02:03:46 +00:00
non-nullable.ts temporary: re-flag font optimization (#20372) 2020-12-21 19:26:00 +00:00
oxford-comma-list.ts refactor(typescript): extract preflight functions (#13510) 2020-05-28 23:39:46 +00:00
pretty-bytes.ts Move syntax formatting to prettier (#7454) 2019-05-29 13:57:26 +02:00
recursive-copy.ts chore(next): export/lib/next-server missing types (#13320) 2020-05-24 22:44:05 +00:00
recursive-delete.ts Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
recursive-readdir.ts Use fs.promises instead of promisify (#12026) 2020-05-02 00:10:19 -04:00
verifyTypeScriptSetup.ts startup performance improvements (#24129) 2021-04-18 10:28:09 +00:00