Fix subsystem handling to pull correct frame and log frames on error.
Fix subsystem handling to pull correct frame and log frames on error.

schandrika/volttron,schandrika/volttron,schandrika/volttron,schandrika/volttron