Add more trycatches add more logs. Not sure where failure is.
This commit is contained in:
parent
b7e2e912f4
commit
da735779b4
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"version": "1.8.97",
|
||||
"version": "1.8.98",
|
||||
"ext_port": 1111,
|
||||
"profiles": {
|
||||
"mcopy": {
|
||||
|
|
|
@ -74,15 +74,15 @@ class Devices {
|
|||
if (typeof arg !== 'undefined' && typeof arg.timing !== 'undefined') {
|
||||
timing.restore(arg.timing);
|
||||
}
|
||||
if (arg.projector_second) {
|
||||
if (typeof arg !== 'undefined' && typeof arg.projector_second !== 'undefined') {
|
||||
//add second row of projector pads to grid
|
||||
proj.second.enable();
|
||||
}
|
||||
if (arg.camera_second) {
|
||||
if (typeof arg !== 'undefined' && typeof arg.camera_second !== 'undefined') {
|
||||
//add second row of camera pads to grid
|
||||
cam.second.enable();
|
||||
}
|
||||
if (arg.capper) {
|
||||
if (typeof arg !== 'undefined' && typeof arg.capper !== 'undefined') {
|
||||
//add capper features to grid
|
||||
capper.enable();
|
||||
}
|
||||
|
@ -91,6 +91,7 @@ class Devices {
|
|||
grid.state(0);
|
||||
grid.state(1);
|
||||
seq.stats();
|
||||
log.info('Got past stats');
|
||||
//@ts-ignore
|
||||
yield delay(1000);
|
||||
try {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "mcopy-app",
|
||||
"version": "1.8.97",
|
||||
"version": "1.8.98",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "mcopy-app",
|
||||
"version": "1.8.97",
|
||||
"version": "1.8.98",
|
||||
"description": "GUI for the mcopy small gauge film optical printer platform",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
|
|
|
@ -74,15 +74,15 @@ class Devices {
|
|||
timing.restore(arg.timing);
|
||||
}
|
||||
|
||||
if (arg.projector_second) {
|
||||
if (typeof arg !== 'undefined' && typeof arg.projector_second !== 'undefined') {
|
||||
//add second row of projector pads to grid
|
||||
proj.second.enable();
|
||||
}
|
||||
if (arg.camera_second) {
|
||||
if (typeof arg !== 'undefined' && typeof arg.camera_second !== 'undefined') {
|
||||
//add second row of camera pads to grid
|
||||
cam.second.enable();
|
||||
}
|
||||
if (arg.capper) {
|
||||
if (typeof arg !== 'undefined' && typeof arg.capper !== 'undefined') {
|
||||
//add capper features to grid
|
||||
capper.enable();
|
||||
}
|
||||
|
@ -92,7 +92,7 @@ class Devices {
|
|||
grid.state(0);
|
||||
grid.state(1);
|
||||
seq.stats();
|
||||
|
||||
log.info('Got past stats');
|
||||
//@ts-ignore
|
||||
await delay(1000);
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"version": "1.8.97",
|
||||
"version": "1.8.98",
|
||||
"ext_port": 1111,
|
||||
"profiles": {
|
||||
"mcopy": {
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "mcopy",
|
||||
"version": "1.8.97",
|
||||
"version": "1.8.98",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "mcopy",
|
||||
"version": "1.8.97",
|
||||
"version": "1.8.98",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"alert": "file:app/lib/alert",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "mcopy",
|
||||
"version": "1.8.97",
|
||||
"version": "1.8.98",
|
||||
"description": "Small gauge film optical printer platform",
|
||||
"main": "build.js",
|
||||
"directories": {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"version": "1.8.97",
|
||||
"version": "1.8.98",
|
||||
"ext_port": 1111,
|
||||
"profiles": {
|
||||
"mcopy": {
|
||||
|
|
Loading…
Reference in New Issue