mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-08-31 19:08:29 +00:00
Changes print message for stream debug to avoid exceptions seen with com port debugging. Updates PepperDash Core to fix keyNotFound exception when stream debugging
This commit is contained in:
parent
50dae0ef69
commit
617c2ce023
2 changed files with 3 additions and 3 deletions
|
|
@ -413,7 +413,7 @@ namespace PepperDash.Essentials.Core
|
|||
var min = Convert.ToUInt32(timeout);
|
||||
|
||||
device.StreamDebugging.SetDebuggingWithSpecificTimeout(debugSetting, min);
|
||||
Debug.Console(0, "Device: '{0}' debug level set to {1) for {2} minutes", deviceKey, debugSetting, min);
|
||||
Debug.Console(0, "Device: '{0}' debug level set to {1) for {2} minutes", deviceKey, setting, min);
|
||||
|
||||
}
|
||||
catch (Exception e)
|
||||
|
|
@ -424,7 +424,7 @@ namespace PepperDash.Essentials.Core
|
|||
else
|
||||
{
|
||||
device.StreamDebugging.SetDebuggingWithDefaultTimeout(debugSetting);
|
||||
Debug.Console(0, "Device: '{0}' debug level set to {1) for default time (30 minutes)", deviceKey, debugSetting);
|
||||
Debug.Console(0, "Device: '{0}' debug level set to {1) for default time (30 minutes)", deviceKey, setting);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
<packages>
|
||||
<package id="PepperDashCore" version="1.0.42" targetFramework="net35" allowedVersions="[1.0,1.1)"/>
|
||||
<package id="PepperDashCore" version="1.0.43-alpha-176" targetFramework="net35" allowedVersions="[1.0,1.1)"/>
|
||||
</packages>
|
||||
Loading…
Add table
Add a link
Reference in a new issue