Skip to content

Commit 671f228

Browse files
committed
Cherry pick
1 parent 3698de1 commit 671f228

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

working/templatepack.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<PackageType>template</PackageType>
5-
<PackageVersion>1.0.9</PackageVersion>
5+
<PackageVersion>1.0.10</PackageVersion>
66
<PackageId>Skyline.DataMiner.VisualStudioTemplates.Internal</PackageId>
77
<Title>DataMiner DotNet Templates</Title>
88
<Authors>SkylineCommunications</Authors>

working/templates/automationsolution/$SCRIPTNAME$_1/$SCRIPTNAME$_1.cs

+5-5
Original file line numberDiff line numberDiff line change
@@ -74,23 +74,23 @@ public void Run(IEngine engine)
7474
}
7575
catch (ScriptAbortException)
7676
{
77-
// catch normal abort exceptions (engine.ExitFail or engine.ExitSuccess)
77+
// Catch normal abort exceptions (engine.ExitFail or engine.ExitSuccess)
7878
throw; // Comment if it should be treated as a normal exit of the script.
7979
}
8080
catch (ScriptForceAbortException)
8181
{
82-
// catch forced abort exceptions, caused via external maintenance messages
82+
// Catch forced abort exceptions, caused via external maintenance messages.
8383
throw;
8484
}
8585
catch (ScriptTimeoutException)
8686
{
87-
// catch timeout exceptions for when a script has been running for too long
87+
// Catch timeout exceptions for when a script has been running for too long.
8888
throw;
8989
}
9090
catch (InteractiveUserDetachedException)
9191
{
92-
// catch a user detaching from the interactive script by closing the window
93-
// only applicable for interactive scripts, can be removed for non-interactive scripts.
92+
// Catch a user detaching from the interactive script by closing the window.
93+
// Only applicable for interactive scripts, can be removed for non-interactive scripts.
9494
throw;
9595
}
9696
catch (Exception e)

0 commit comments

Comments
 (0)