Code Inspection: Redundant 'await' expression
Reports redundant await usages, such as await await , or awaiting a non-promise result.
When the 'Report for promises' checkbox is checked, this inspection will also suggest removing 'await' before promises when applicable (in return statements, and with Promise.resolve/reject).
While this is not generally necessary, removing 'await' in such contexts gives you two problems.
The first one is that surrounding your code with try-catch and forgetting to add 'await' will change code semantics, and you may fail to notice that.
The second one is that not having explicit 'await' may prevent the V8 runtime from providing async stack traces .