Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 59 for OnError (0.12 sec)

  1. internal/logger/target/console/console.go

    	}
    
    	if len(entry.Trace.Variables) > 0 {
    		tagString = "\n       " + tagString
    	}
    
    	msg := color.RedBold(entry.Trace.Message)
    	output := fmt.Sprintf("\n%s\n%s%s%s%s%s%s\nError: %s%s\n%s",
    		apiString, timeString, deploymentID, requestID, remoteHost, host, userAgent,
    		msg, tagString, strings.Join(trace, "\n"))
    
    	fmt.Fprintln(c.output, output)
    	return nil
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/phases/reset/removeetcdmember_test.go

    			} else {
    				dataDir, err = getEtcdDataDir(manifestPath, nil)
    			}
    
    			if (err != nil) != test.expectErr {
    				t.Fatalf(dedent.Dedent(
    					"getEtcdDataDir failed\n%s\nexpected error: %t\n\tgot: %t\nerror: %v"),
    					name,
    					test.expectErr,
    					(err != nil),
    					err,
    				)
    			}
    
    			if dataDir != test.dataDir {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 26 03:55:19 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  3. pkg/volume/iscsi/iscsi_util.go

    	if err != nil {
    		klog.Errorf("iscsi delete devices: lun is not a number: %s\nError: %v", c.iscsiDisk.Lun, err)
    		return err
    	}
    	// Enumerate the devices so we can delete them
    	deviceNames, err := c.deviceUtil.FindDevicesForISCSILun(c.iscsiDisk.Iqn, lunNumber)
    	if err != nil {
    		klog.Errorf("iscsi delete devices: could not get devices associated with LUN %d on target %s\nError: %v",
    			lunNumber, c.iscsiDisk.Iqn, err)
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 22 12:53:01 UTC 2022
    - 34.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/aot/tfcompile_main.cc

        return 0;
      }
      bool parsed_flags_ok = tensorflow::Flags::Parse(&argc, argv, flag_list);
      QCHECK(parsed_flags_ok) << "\n" << usage;
    
      tensorflow::port::InitMain(usage.c_str(), &argc, &argv);
      QCHECK(argc == 1) << "\nERROR: This command does not take any arguments "
                           "other than flags. See --help.\n\n";
      tensorflow::Status status = tensorflow::tfcompile::Main(flags);
      if (status.code() == absl::StatusCode::kInvalidArgument) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbSessionImpl.java

                                wasInUse |= t.treeDisconnect(inError, false);
                            }
                            catch ( Exception e ) {
                                log.warn("Failed to disconnect tree " + t, e);
                            }
                        }
                    }
    
                    if ( !inError && trans.isSMB2() ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Nov 14 17:41:04 UTC 2021
    - 49K bytes
    - Viewed (0)
  6. cluster/gce/gci/configure_helper_test.go

    		c.t.Fatalf("Failed to read manifest: %s, %v", c.manifestDestination, err)
    	}
    
    	if err := runtime.DecodeInto(legacyscheme.Codecs.UniversalDecoder(), json, &c.pod); err != nil {
    		c.t.Fatalf("Failed to decode manifest:\n%s\nerror: %v", json, err)
    	}
    }
    
    func (c *ManifestTestCase) tearDown() {
    	if err := os.RemoveAll(c.kubeHome); err != nil {
    		c.t.Fatalf("Failed to teardown: %s", err)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 30 06:23:50 UTC 2021
    - 4.8K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/executer/OutputScrapingExecutionResultTest.groovy

            def error = "\r\n\nerror\n\r\n"
            def result = OutputScrapingExecutionResult.from(output, error)
    
            expect:
            result.output == "\n\nabc\n\n"
            result.normalizedOutput == "\n\nabc\n\n"
            result.error == "\n\nerror\n\n"
        }
    
        def "retains trailing line ending in output"() {
            def output = "\n\nabc\n"
            def error = "\nerror\n"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  8. platforms/jvm/jvm-services/src/main/java/org/gradle/internal/jvm/inspection/DefaultJvmMetadataDetector.java

                if (exitValue == 0) {
                    return parseExecOutput(jdkPath, out.toString());
                }
                String errorMessage = "Command returned unexpected result code: " + exitValue + "\nError output:\n" + errorOutput;
                logger.debug("Failed to get metadata from JVM installation at '{}'. {}", jdkPath, errorMessage);
                return failure(jdkPath, errorMessage);
            } catch (ExecException ex) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 02:32:22 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTreeImpl.java

                }
                catch ( CIFSException e ) {
                    throw new SmbException("Logon share connection failed", e);
                }
            }
        }
    
    
        boolean treeDisconnect ( boolean inError, boolean inUse ) {
            boolean wasInUse = false;
            try ( SmbSessionImpl sess = getSession();
                  SmbTransportImpl transport = sess.getTransport() ) {
                synchronized ( transport ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  10. pkg/kubelet/kubelet_server_journal.go

    	cmd.Stdout = w
    	cmd.Stderr = w
    
    	if err := cmd.Run(); err != nil {
    		if _, ok := err.(*exec.ExitError); ok {
    			return
    		}
    		if previousBoot == 0 {
    			fmt.Fprintf(w, "\nerror: journal output not available\n")
    		}
    	}
    }
    
    // copyFileLogs loops over all the services and attempts to collect the file logs of each service
    func copyFileLogs(ctx context.Context, w io.Writer, services []string) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 26 18:56:28 UTC 2023
    - 13.5K bytes
    - Viewed (0)
Back to top