Skip to content

Commit 52a423e

Browse files
committed
fix code smells
Signed-off-by: Neil South <[email protected]>
1 parent ed17fed commit 52a423e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/TaskManager/Plug-ins/Email/EmailPlugin.cs

+5-2
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,10 @@ private async Task<Dictionary<string, List<string>>> AddRawMetaFromFile(Dictiona
189189
{
190190
tag = DicomTag.Parse(item);
191191
}
192-
catch (Exception) { }
192+
catch (Exception)
193+
{
194+
//empty on purpose
195+
}
193196
}
194197
if (tag is not null)
195198
{
@@ -201,7 +204,7 @@ private async Task<Dictionary<string, List<string>>> AddRawMetaFromFile(Dictiona
201204
else
202205
{
203206
metadata.Add(item, new List<string> { value });
204-
};
207+
}
205208
}
206209
}
207210
}

0 commit comments

Comments
 (0)