From f8e1551d4df98783748df180233bec612b17bbd5 Mon Sep 17 00:00:00 2001 From: Ben Vercammen Date: Tue, 20 Dec 2022 20:00:10 +0100 Subject: [PATCH] feat: add path to `IOException` message (#436) --- packages/melos/lib/src/common/io.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/melos/lib/src/common/io.dart b/packages/melos/lib/src/common/io.dart index b3dea3d5c..a6ff95fc9 100644 --- a/packages/melos/lib/src/common/io.dart +++ b/packages/melos/lib/src/common/io.dart @@ -195,7 +195,8 @@ void _attempt( throw IOException( 'Melos failed to $description because $reason.\n' 'This may be caused by a virus scanner or having a file\n' - 'in the directory open in another application.', + 'in the directory open in another application.\n' + 'Path: ${error.path}\n', ); } }